import Backdrop from './backdrop'

import Svg from './svg'
import Table from './table'
import TableTopbar from './table-topbar'
import TableToolbar from './table-toolbar'

import More from './more'
import Title from './title'
import Content from './content'
import Footer from './footer'
import Panel from './panel'
import Toolbar from './toolbar'

const components = [
  Backdrop,

  Svg,
  Table,
  TableTopbar,
  TableToolbar,

  More,
  Title,
  Content,
  Footer,
  Panel,
  Toolbar
]

const install = Vue => {
  components.forEach(component => {
    Vue.component(component.componentName || component.name, component)
  })
}

export default {
  ...components,
  install
}

